import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
    {
        path: "/",
        name: "oppo",
        redirect:'/oppo',
        component: () => import("../views/oppo.vue"),
        children: [
            {
                path: "/oppo",
                component: () => import("../views/oppo.vue"),
            },
        ],
    },
];

const router = new VueRouter({
    routes,
});

export default router;
